<?php

namespace app\admin\controller;

use think\Controller;
use think\Request;

class Base extends Controller
{
   public function __construct(Request $request)
   {
        parent::__construct($request);

        //登录检测
        if(!session('admin')) {
            //没登录
            $this->redirect('admin/login/login');
        }








    
   }









}
